import {
	createSSRApp,
} from "vue";
import App from "./App.vue";
import request from './utils/ajax.js';
import Api from "./utils/Api.js";
import hApi from "./utils/Apihbw.js";
import upload from "./utils/upload.js";




export function createApp() {
	const app = createSSRApp(App);
	app.config.globalProperties.$ajax = request.ajax;
	app.config.globalProperties.$Api = Api;
	app.config.globalProperties.$hApi = hApi;
	app.config.globalProperties.$upload = upload;
	return {
		app,
	};
}